package com.yang.mod.blocks;

import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraftforge.common.ToolType;

public class ObsidianBlock extends Block {
    public ObsidianBlock() {
        super(Properties.of(Material.STONE)
                .strength(0.5F, 6.0F) //硬度与爆炸抗性
                .sound(SoundType.METAL)//声音
                .harvestTool(ToolType.PICKAXE) //挖掘工具
                .harvestLevel(3) //挖掘等级
                .jumpFactor(1)//跳跃
                .speedFactor(0.5F)//速度
                .requiresCorrectToolForDrops()//需要正确的工具以掉落
                .lightLevel((level)->15)//光亮等级
        );
    }
}